package com.pojo;

public class Employee {
    private  Integer empId;
    private String name;
    private  Integer age;
    private  String sex;
    private  Integer salary;
    private  Integer dId;

    public Employee() {
    }

    public Employee(Integer empId, String name, Integer age, String sex, Integer salary, Integer dId) {
        this.empId = empId;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.salary = salary;
        this.dId = dId;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getSalary() {
        return salary;
    }

    public void setSalary(Integer salary) {
        this.salary = salary;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "empId=" + empId +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", salary=" + salary +
                ", dId=" + dId +
                '}';
    }
}
